#coding:utf-8
import sys
class sortt:
	def __init__(s):
		s.list=[]
		s.lens=0
	def sortlist(s,lst,lens):
		print u'哥活捉%d个数字，主人怎么办？'%lens
		s.list=lst
		s.lens=lens
		x=0
		for i in xrange(lens):
			for l in xrange(i,lens):
				if s.list[i]>s.list[l]:
					x=s.list[i]
					s.list[i]=s.list[l]
					s.list[l]=x
					
		return s.list
if __name__=='__main__':
	lst=[]
	# print len(sys.argv)
	for i in xrange(1,len(sys.argv)):
		lst.append(int(sys.argv[i]))
	print u'输入：',lst
	cl=sortt()
	lst=cl.sortlist(lst,len(sys.argv)-1)
	print u'输出：',lst
